// 权限可以从后端获取（权限标识字段）

//菜单管理
export const MENU = {
  SYSTEM_MENU_CREATE: 'system.menu.create',
  SYSTEM_MENU_UPDATE: 'system.menu.update',
  SYSTEM_MENU_DELETE: 'system.menu.delete',
}

//角色管理
export const ROLE = {
  SYSTEM_ROLE_CREATE: 'system.role.create',
  SYSTEM_ROLE_UPDATE: 'system.role.update',
  SYSTEM_ROLE_DELETE: 'system.role.delete',
  SYSTEM_ROLE_DELETE_LIST: 'system.role.delete-list',
  SYSTEM_ROLE_ASSIGN: 'system.role.assign',
}

//用户管理
export const USER = {
  SYSTEM_USER_CREATE: 'system.user.create',
  SYSTEM_USER_UPDATE: 'system.user.update',
  SYSTEM_USER_DELETE: 'system.user.delete',
  SYSTEM_USER_DELETE_LIST: 'system.user.delete-list',
  SYSTEM_USER_ASSIGN: 'system.user.assign',
}

//公司管理
export const COMPANY = {
  BUSINESS_COMPANY_CREATE: 'business.company.create',
  BUSINESS_COMPANY_UPDATE: 'business.company.update',
  BUSINESS_COMPANY_DELETE: 'business.company.delete',
  BUSINESS_COMPANY_DELETE_LIST: 'business.company.delete-list',
}

//部门管理
export const DEPARTMENT = {
  BUSINESS_DEPARTMENT_CREATE: 'business.department.create',
  BUSINESS_DEPARTMENT_UPDATE: 'business.department.update',
  BUSINESS_DEPARTMENT_DELETE: 'business.department.delete',
  BUSINESS_DEPARTMENT_DELETE_LIST: 'business.department.delete-list',
}

//物料管理
export const MATERIAL = {
  BUSINESS_MATERIAL_CREATE: 'business.material.create',
  BUSINESS_MATERIAL_UPDATE: 'business.material.update',
  BUSINESS_MATERIAL_DELETE: 'business.material.delete',
  BUSINESS_MATERIAL_DELETE_LIST: 'business.material.delete-list',
}

